package com.zhixiang.xaec.entity.performance.safeachievements;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.cfg.Comment;
import com.zhixiang.xaec.entity.BaseEntity;
@Entity
@Table(name="perf_RatingProjectSet")
@Comment("自评项目设置列表")
public class RatingProjectSet extends BaseEntity{
    //一级要素
    private String oneLevel;
    
    //二级要素
    private String twoLevel;
    
    //基本规范要求
    private String regulation;
    
    //企业达标标准
    private String baseStandard;
    
    //标准分值
    private  Float standardScore;
    
    //评分方式
    private String scoreModel;
    
    //要素 1=一级要素，2=二级要素
    private Integer levels;
    
    //父id
    private Integer parentId;
    
    //树列表外键
    private Long ratingProjectSetTreeId;
    
    @Comment("树列表外键")
    public Long getRatingProjectSetTreeId() {
        return ratingProjectSetTreeId;
    }

    public void setRatingProjectSetTreeId(Long ratingProjectSetTreeId) {
        this.ratingProjectSetTreeId = ratingProjectSetTreeId;
    }

    @Comment("父id")
    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    @Comment("要素级别")
    public Integer getLevels() {
        return levels;
    }

    public void setLevels(Integer levels) {
        this.levels = levels;
    }

    @Column(length=50)
    @Comment("一级要素")
    public String getOneLevel() {
        return oneLevel;
    }
    public void setOneLevel(String oneLevel) {
        this.oneLevel = oneLevel;
    }
    @Column(length=50)
    @Comment("二级要素")
    public String getTwoLevel() {
        return twoLevel;
    }
    public void setTwoLevel(String twoLevel) {
        this.twoLevel = twoLevel;
    }
    @Column(length=500)
    @Comment("基本规范要求")
    public String getRegulation() {
        return regulation;
    }
    public void setRegulation(String regulation) {
        this.regulation = regulation;
    }
    @Column(length=500)
    @Comment("企业达标标准")
    public String getBaseStandard() {
        return baseStandard;
    }
    public void setBaseStandard(String baseStandard) {
        this.baseStandard = baseStandard;
    }
    @Column(length=10)
    @Comment("标准分值")
    public Float getStandardScore() {
        return standardScore;
    }
    public void setStandardScore(Float standardScore) {
        this.standardScore = standardScore;
    }
    @Column(length=500)
    @Comment("评分方式")
    public String getScoreModel() {
        return scoreModel;
    }
    public void setScoreModel(String scoreModel) {
        this.scoreModel = scoreModel;
    }

}
